package com.gopay.common.domain.riskcontrol;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;


/***
 * 
 * @RcComRuleAudit.java
 * @author dongdh
 * @2016年1月18日 上午11:51:17  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name="RC_COM_RULE_AUDIT")
public class RcComRuleAudit extends BaseEntity {

	/**
     * 
     */
    private static final long serialVersionUID = -4319396213823649392L;

    @Id
	@SequenceGenerator(name="RC_COM_RULE_AUDIT_ID_GENERATOR",allocationSize=1,initialValue=1, sequenceName="RC_COM_RULE_AUDIT_SEQ")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="RC_COM_RULE_AUDIT_ID_GENERATOR")
	private long id;

	@Column(name="AUDIT_OPER_ID")
	private String auditOperId;

	@Column(name="AUDIT_STAT")
	private String auditStat;

	@Column(name="AUDIT_TS")
	private Date auditTs;

	private String code;

	@Column(name="CREATE_OPER_ID")
	private String createOperId;

	@Column(name="CREATED_TS")
	private Date createdTs;

	@Column(name="DEAL_TYPE")
	private String dealType;

	@Column(name="LAST_UPD_OPER_ID")
	private String lastUpdOperId;

	@Column(name="LAST_UPD_TS")
	private Date lastUpdTs;

	private String name;

	@Column(name="\"VERSION\"")
	private Integer version;
	
	@Column(name="AUDIT_REMARK")
	private String auditRemark;

	private String remark;
	
	public RcComRuleAudit() {
	}

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getAuditOperId() {
		return this.auditOperId;
	}

	public void setAuditOperId(String auditOperId) {
		this.auditOperId = auditOperId;
	}

	public String getAuditStat() {
		return this.auditStat;
	}

	public void setAuditStat(String auditStat) {
		this.auditStat = auditStat;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCreateOperId() {
		return this.createOperId;
	}

	public void setCreateOperId(String createOperId) {
		this.createOperId = createOperId;
	}

	public String getDealType() {
		return this.dealType;
	}

	public void setDealType(String dealType) {
		this.dealType = dealType;
	}

	public String getLastUpdOperId() {
		return this.lastUpdOperId;
	}

	public void setLastUpdOperId(String lastUpdOperId) {
		this.lastUpdOperId = lastUpdOperId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getVersion() {
		return this.version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

    public String getAuditRemark() {
        return auditRemark;
    }

    public void setAuditRemark(String auditRemark) {
        this.auditRemark = auditRemark;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getAuditTs() {
        return auditTs;
    }

    public void setAuditTs(Date auditTs) {
        this.auditTs = auditTs;
    }

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

}